package cc.comac.mom.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipReqularCheckBean;
import cc.comac.mom.bean.EquipReqularCheckItem;
import cc.comac.mom.bean.EquipReqularCheckItemBean;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipReqularCheckItemService {
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckItemService/saveBatch",method = RequestMethod.POST)
	ResultBean saveBatch(@RequestBody EquipReqularCheckBean obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckItemService/deleteBatch",method = RequestMethod.POST)
	ResultBean deleteBatch(@RequestBody EquipReqularCheckItemBean obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckItemService/moveUp",method = RequestMethod.POST)
	ResultBean moveUp(@RequestBody EquipReqularCheckItem obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckItemService/moveDown",method = RequestMethod.POST)
	ResultBean moveDown(@RequestBody EquipReqularCheckItem obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckItemService/getById",method = RequestMethod.POST)
	EquipReqularCheckItem getById(@RequestBody EquipReqularCheckItem obj);
	
	@RequestMapping(value = "/p/cs/EquipReqularCheckItemService/selectByCondition",method = RequestMethod.POST)
	EquipReqularCheckItemBean selectByCondition(@RequestBody EquipReqularCheckItem obj);
}
